#基础镜像
ARG FROM_IMAGE_NAME=continuumio/miniconda3:latest
FROM ${FROM_IMAGE_NAME}
#工作目录
#ADD paidan.tar.gz /root/workspace
WORKDIR /root/workspace
COPY requirements.txt /root/workspace/requirements.txt

RUN pip install -r requirements.txt
#RUN chmod +x run.sh
# EXPOSE 8080
# # CMD ["uvicorn", "app:app", "--workers", "1", "--host", "0.0.0.0", "--port", "8080"]
# CMD uvicorn app:app --workers 1 --host 0.0.0.0 --port 8080
